package com.lw.spring.service.jdkproxy.impl;

import com.lw.spring.service.jdkproxy.UserService;

/**
 * @author Administrator
 * @version 1.0
 * @description:
 * @date 2022/3/5 15:12
 */
public class UserServiceImpl implements UserService {
    @Override
    public void addUser() {
        //开启事务
        System.out.println("添加用户");
        //提交事务
    }

    @Override
    public void updateUser() {
        //开启事务
        System.out.println("更新用户");
        //提交事务
    }
}
